package com.itheima.Test_课上作业.抽象类.抽象类的作用_03;

public class LiuYan extends EatTemplate {
    //子类只需要关注取餐方法就行了
    @Override
    public void quCan() {
        System.out.println("西红柿鸡蛋");
        System.out.println("锅包肉");
        System.out.println("来碗米饭");
    }
}

class YangMi extends EatTemplate {
    @Override
    public void quCan() {
        System.out.println("小鸡炖蘑菇");
        System.out.println("土豆丝");
        System.out.println("来两馒头");
    }
}
